package com.bangbang.service;


import com.bangbang.dto.UserDTO;
import com.bangbang.pojo.UserTest;
import io.swagger.annotations.Api;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

@Service
public class TestUserServiceImpl implements TestUserService{



    @Override
    public void save(UserTest user) {
        System.out.println("-----帮帮云课堂正在测试中,新增方法----");
    }

    @Override
    public void delete(Integer testUserId) {
        System.out.println("-----帮帮云课堂正在测试中,删除方法----");
    }

    @Override
    public void update(UserTest user) {
        System.out.println("-----帮帮云课堂正在测试中,修改方法----");
    }

    @Override
    public UserTest selectById(Integer userId) {
        UserTest user = new UserTest();
        user.setUserId(userId).setUserName("张三").setAddr("胶囊咖啡啊就你那");

        return user;
    }
}
